package com.sg.dto.biz.bff.common;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc BffNoArcpositionGradeDto
 * @使用场景
 */
@Data
public class BffNoArcpositionGradeDto implements Serializable {

    /**
     * 职务级别ID:
     */
    @ApiModelProperty("职务级别ID")
    private String positionGradeId;

    /**
     * 岗位类型ID:
     */
    @ApiModelProperty("岗位类型ID")
    private String stationTypeId;

    /**
     * 职务级别编号:
     */
    @ApiModelProperty("职务级别编号")
    private String positionGradeNumber;

    /**
     * 职务级别名称:
     */
    @ApiModelProperty("职务级别名称")
    private String positionGradeName;

    /**
     * 是否设置等级范围:
     */
    @ApiModelProperty("是否设置等级范围")
    private String isSetGrade;

    /**
     * 排序:
     */
    @ApiModelProperty("排序")
    private Long orderNumber;

    /**
     * 批次下更新状态:
     */
    @ApiModelProperty("批次下更新状态")
    private String updateStatus;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffNoArcpositionGradeDto that = (BffNoArcpositionGradeDto) o;
        return positionGradeId == that.positionGradeId && stationTypeId == that.stationTypeId && positionGradeNumber == that.positionGradeNumber && positionGradeName == that.positionGradeName && isSetGrade == that.isSetGrade && orderNumber == that.orderNumber && updateStatus == that.updateStatus;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), positionGradeId, stationTypeId, positionGradeNumber, positionGradeName, isSetGrade, orderNumber, updateStatus);
    }

}
